POV-Ray : Newsgroups : povray.binaries.images : Help on blocky heightfield : Re: Help on blocky heightfield Server Time
16 Nov 2024 14:22:25 EST (-0500)
  Re: Help on blocky heightfield  
From: Zeger Knaepen
Date: 14 Jan 2003 13:41:20
Message: <3e2459d0@news.povray.org>
First: could you *please* not post in html? tnx

The problem you have, is the same problem I talked about almost a year ago (
http://news.povray.org/povray.binaries.images/22627/ ) : POV-Ray doesn't
interpolate very well between height_field normals.

I'm afraid Slime-POV will not be a complete solution to your problem.  It might
look a bit smoother, but Slime-POV too has problems with smooth height_fields,
as can be seen on the image taken frome Slime-POV's website:
http://www.slimeland.com/slimepov/smoothhffinal.jpg : the individual "patches"
are visible.  They wouldn't be visible if you used smooth_triangles.

See attached image: on the left you see a Slime-POV heightfield using
smart_triangulation and smooth 2, on the right you see a mesh of
smooth_triangles, both using a resolution of 40*40.  For some reason I couldn't
create the same shape (function images seem to work completely different than
pattern images in MegaPOV 0.7), but you can still see that smooth height_fields
look "patchy".

So Slime: your Slime-POV certainly is an improvement on the official POV-Ray,
but I'm afraid it's not good enough yet :-/

cu!
--
camera{location-z*3}#macro G(b,e)b+(e-b)*(C/50)#end#macro L(b,e,k,l)#local C=0
;#while(C<50)sphere{G(b,e),.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1
;#end#end L(y-x,y,x,x+y)L(y,-x-y,x+y,y)L(-x-y,-y,y,y+z)L(-y,y,y+z,x+y)L(0,x+y,
<.5,1,.5>,x)L(0,x-y,<.5,1,.5>,x)               // ZK http://www.povplace.be.tf


Post a reply to this message


Attachments:
Download 'heightfield.png' (28 KB)

Preview of image 'heightfield.png'
heightfield.png


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.